/*
 * @Author: FengKongLi 
 * @Date: 2021-08-19 18:50:11 
 * @Last Modified by: FengKongLi
 * @Last Modified time: 2021-08-19 19:05:28
 */
// 网站资讯-资讯分类api
import { get,post } from "@/utils/request";
// 查询所有资讯分类信息
export function findAll(){
    return get("/category/findAll")
}
// 通过id删除
export function deleteById(data) {
    return get('/category/deleteById', data)
  }
  
  // 保存或更新
  export function saveOrUpdate(data) {
    return post('/category/saveOrUpdate', data)
  }
